package com.zhuangjie.rider.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 骑手配送订单入账记录表
 * </p>
 *
 * @author zhuangjie
 * @since 2024-04-02
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("rider_order_accounting_record")
@ApiModel(value = "RiderOrderAccountingRecord对象", description = "骑手配送订单入账记录表")
public class RiderOrderAccountingRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("订单-入账记录id")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    @ApiModelProperty("订单id")
    @TableField("order_id")
    private Long orderId;

    @ApiModelProperty("入账记录id")
    @TableField("money_record_id")
    private Long moneyRecordId;
}
